package com.newworld.dmsapp2.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.litepal.crud.DataSupport;

/**
 * 
 * @author zuo
 * 
 *         房屋关联、注册信息表
 */
@SuppressWarnings("serial")
public class Register extends DataSupport implements Serializable {

	private long id;

	// 注册人姓名
	private String registerusername;

	// 注册的密码
	private String registerpassword;

	// 房屋id
	private String houseid;

	// 户主姓名
	private String ownername;

	// 户主电话
	private String ownerphone;

	// 关系类型
	private String relationtypeid;

	// 附言
	private String postscript;

	// 邀请码
	private String invitecode;

	// 用户注册时间
	private String registertime;

	// 与User里的Functons对应，字段取名“funs”
	private List<Function> funs = new ArrayList<Function>();

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getRegisterusername() {
		return registerusername;
	}

	public void setRegisterusername(String registerusername) {
		this.registerusername = registerusername;
	}

	public String getRegisterpassword() {
		return registerpassword;
	}

	public void setRegisterpassword(String registerpassword) {
		this.registerpassword = registerpassword;
	}

	public String getHouseid() {
		return houseid;
	}

	public void setHouseid(String houseid) {
		this.houseid = houseid;
	}

	public String getOwnername() {
		return ownername;
	}

	public void setOwnername(String ownername) {
		this.ownername = ownername;
	}

	public String getOwnerphone() {
		return ownerphone;
	}

	public void setOwnerphone(String ownerphone) {
		this.ownerphone = ownerphone;
	}

	public String getRelationtypeid() {
		return relationtypeid;
	}

	public void setRelationtypeid(String relationtypeid) {
		this.relationtypeid = relationtypeid;
	}

	public String getPostscript() {
		return postscript;
	}

	public void setPostscript(String postscript) {
		this.postscript = postscript;
	}

	public String getInvitecode() {
		return invitecode;
	}

	public void setInvitecode(String invitecode) {
		this.invitecode = invitecode;
	}

	public List<Function> getFuns() {
		return funs;
	}

	public void setFuns(List<Function> functions3) {
		this.funs = functions3;
	}

	public String getRegistertime() {
		return registertime;
	}

	public void setRegistertime(String registertime) {
		this.registertime = registertime;
	}

}
